﻿using System;
using System.Collections.Generic;
using DataAccessLibrary.DAL;
using entities;

namespace BusinessLogicLibrary
{
    public class SearchModule
    {
        private readonly SearchDAO _dao = new SearchDAO() ;
     
        public List<vRoomInfo> SearchRoom(DateTime inDate, DateTime outDate, int roomTypeId, int minPrice, int maxPrice, bool view, bool bath, bool balcony)
        {
            return _dao.SearchRoom(inDate, outDate, roomTypeId, minPrice, maxPrice, view, bath, balcony);
        }
        
    }
}
